package com.ermao.mymes.handler.script;

import com.ermao.mymes.handler.domain.SmsParam;
import com.ermao.mymes.support.domain.SmsRecord;

import java.util.List;

/**
 * @author Ermao
 * Date: 2022/5/7 14:27
 */
public interface SmsScript {
	/**
	 * 发送短信
	 *
	 * @param smsParam
	 * @return 渠道商接口返回值
	 * @throws Exception
	 */
	List<SmsRecord> send(SmsParam smsParam) throws Exception;
}
